<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>petite-vue无需构建步骤即可使用。只需从 CDN 加载它：</title>
    <script src="https://unpkg.com/petite-vue" defer init></script>
  </head>
  <body>
    <!-- anywhere on the page -->
    <div v-scope="{ count: 0 }">
      {{ count }}
      <button @click="count++">inc</button>
    </div>
    <!-- 
用于标记页面上应由 控制的区域。v-scope
该属性使脚本在分析 HTML 内容后执行。defer
该属性告诉自动查询和初始化页面上的所有元素。init v-scope
     -->
  </body>
</html>
